home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / upd204e.zip / UPDATE.BAT < prev    next >
DOS Batch File  |  1993-01-25  |  2KB  |  54 lines

  1. @echo off
  2. echo  
  3. echo This will update the REGISTERED versions of the following programs 
  4. echo from version 2.04c to version 2.04e.  This will not update the
  5. echo Shareware versions of 2.04c.  See the V204E.NEW file for a list
  6. echo of changes in this version.
  7. echo  
  8. echo PKCFG.EXE PUTAV.EXE ZIP2EXE.EXE PKZIP.EXE PKZIPFIX.EXE PKUNZIP.EXE 
  9. echo  
  10. echo Please make sure that these files and all the .PAT files from this
  11. echo update are in the current directory.
  12. echo  
  13. echo Press Ctrl Break to abort or any other key to continue.
  14. pause >nul
  15. if not exist pkpatch.exe goto err
  16. if not exist pkcfg.exe goto err
  17. if not exist putav.exe goto err
  18. if not exist zip2exe.exe goto err
  19. if not exist pkzip.exe goto err
  20. if not exist pkzipfix.exe goto err
  21. if not exist pkunzip.exe goto err
  22. if not exist pkcfg.pat goto err
  23. if not exist putav.pat goto err
  24. if not exist zip2exe.pat goto err
  25. if not exist pkzip.pat goto err
  26. if not exist pkzipfix.pat goto err
  27. if not exist pkunzip.pat goto err
  28. pkpatch pkcfg
  29. if errorlevel 1 pause
  30. pkpatch putav
  31. if errorlevel 1 pause
  32. pkpatch zip2exe
  33. if errorlevel 1 pause
  34. pkpatch pkzip
  35. if errorlevel 1 pause
  36. pkpatch pkzipfix
  37. if errorlevel 1 pause
  38. pkpatch pkunzip
  39. if errorlevel 1 pause
  40. echo  
  41. echo Done!
  42. goto done
  43. :err
  44. echo  
  45. echo One or more files needed for this update are missing!
  46. echo  
  47. echo Please make sure that all the following files are in the
  48. echo current directory:
  49. echo  
  50. echo PKPATCH.EXE
  51. echo PKCFG.EXE PUTAV.EXE ZIP2EXE.EXE PKZIP.EXE PKZIPFIX.EXE PKUNZIP.EXE 
  52. echo PKCFG.PAT PUTAV.PAT ZIP2EXE.PAT PKZIP.PAT PKZIPFIX.PAT PKUNZIP.PAT 
  53. :done
  54.